package com.example.dormitory_system.service;

import com.example.dormitory_system.domain.dto.student.HolidayStayAddDTO;
import com.example.dormitory_system.domain.dto.student.HolidayStayListDTO;
import com.example.dormitory_system.domain.dto.sysuser.HolidayStayUpdateDTO;
import com.example.dormitory_system.domain.enetiy.HolidayStay;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.dormitory_system.domain.vo.student.HolidayStayVO;
import com.example.dormitory_system.domain.vo.sysuser.SysHolidayStayVO;

import java.util.List;

/**
* @author keenan
* @description 针对表【tb_holiday_stay(假期留校申请表)】的数据库操作Service
* @createDate 2025-03-26 15:28:42
*/
public interface HolidayStayService extends IService<HolidayStay> {
    int addHolidayStay(HolidayStayAddDTO holidayStayAddDTO);

    List<HolidayStayVO> listHolidayStay(HolidayStayListDTO holidayStayListDTO);

    int deleteHolidayStay(Long studentId, Long holidayStayId);

    int updateHolidayStay(HolidayStayUpdateDTO holidayStayUpdateDTO);

    List<SysHolidayStayVO> sysListHolidayStay(Long userId, Integer status,String applyname,String number, Integer pageNum, Integer pageSize);
}